Python/VIT/sem-1/ex-06/5. Rent Allowance/if else.py
s=int(input("Enter salary: Rs."))
actR=int(input("Enter rent: Rs."))
maxR=6/100*s
if actR<=maxR:
print("Rent allowance matched")
else:
print("Rent allowance not matched")
s=int(input("Enter salary: Rs."))
actR=int(input("Enter rent: Rs."))
maxR=6/100*s
if actR<=maxR:
print("Rent allowance matched")
else:
print("Rent allowance not matched")